:global {
  .ant-upload.ant-upload-select-picture-card {
    width: 100%;
    height: 98px;
  }
}

.scroll-bu {
  max-height: 70vh;
  overflow-y: auto;


  &::-webkit-scrollbar {
    width: 4px;
    background: #f1f2f2;
  }

  &::-webkit-scrollbar-thumb {
    background: #ddd; //linear-gradient(180deg, #87E9F1 0%, #FED66F 100%);
    border-radius: 10px;
  }
}

.addControl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  border-radius: 4px;
  opacity: 1;
  background: #F7F8FA;
  box-sizing: border-box;
  border: 1px dashed #417AEB;
  cursor: pointer;

}

.banner-editor {
  padding: 7px 0;

}

.banner-item {
  display: flex;
  width: 100%;

  flex-direction: column;
  position: relative;

  .close {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.5;
    background: #030303;
    border-radius: 50%;
    top: 5px;
    right: 3px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  &:not(:last-of-type) {
    padding-bottom: 14px;
  }

}

.banner-img {
  width: 100%;
  height: 98px;
  border-radius: 4px;
  overflow: hidden;

  img {
    width: 100%;
    height: auto;
  }
}

.banner-link-input {
  :global {
    .ant-select-selector {
      border: 0 !important;
      background-color: #F7F8FA !important;
      border-radius: 4px !important
    }
  }

}

.banner-link {
  padding-top: 4px;
}

.banner-list {
  &:not(:empty) {
    padding-bottom: 20px;
  }

  .scroll-bu()
}

.editor {
  padding: 7px 0;

}

.label-list {
  .scroll-bu()
}

.label-item {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  position: relative;
  // opacity: 1;
  background: #F7F8FA;
  // &:not(:last-of-type){
  margin-bottom: 11px;

  // }
  &-img {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 100%;

    &-full {
      img {

        width: 100%;
      }
    }
  }

  &-title {
    padding-left: 16px;
    align-items: center;
    display: flex;
    font-size: 12px;
    color: #2C2C2C;
  }

}


.notice-editor {
  padding-top: 13px;

  &-item {
    padding-bottom: 20px;

    &-label {
      color: #1D2129;
      font-size: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 6px;
    }

    &-input {
      border: 0;
      background: #F7F8FA;
    }

    &-y {
      padding: 13px 0;
      color: #4E5969;
      font-size: 12px;
      cursor: pointer;

      &.actived {
        color: #417AEB;
      }
    }

    &-content {
      padding: 12px 13px;
      border-radius: 4px;
      opacity: 1;
      background: #F7F8FA;
      .scroll-bu();
      max-height: 40vh;
    }
  }
}

.shop-editor-item-content {
  background-color: #fff;
  border-radius: 0;

  .scroll-bu();
  max-height: 45vh;
  // max-height: 100%;
  .good-item {
    border-radius: 4px;
    opacity: 1;

    background: #F7F8FA;
    display: flex;
    margin-bottom: 13px;
    overflow: hidden;
    position: relative;

    &-img {
      width: 76px;
      height: 76px;

      img {
        width: 100%;
        height: 100%;
      }
    }

    &-content {
      padding-left: 14px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    &-remove {
      position: absolute;
      bottom: 7px;
      right: 7px;
      color: #F43443;
      cursor: pointer;
    }

    &-title {
      font-size: 16px;
      color: #2C2C2C;
      margin: 0;
    }

    &-price {
      font-size: 16px;
      color: #F43443;
      // padding: 4px 0 4px;
      margin: 0;
    }

    &-m-price {
      color: #A7A7A7;
      text-decoration: line-through;
      font-size: 12px;
      margin: 0;

    }
  }
}

.rm {
  position: absolute;
  width: 17px;
  height: 17px;
  top: 5px;
  right: 3px;
  cursor: pointer;
  background: url(../../../../assets/remove.png) no-repeat;
  background-size: contain;
  background-position: center;
}
.ai_content {
  display: flex;
  justify-content: space-around;
}